﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using VM.Entity.EntityDto.Menu;
using VM.Entity.EntityMap.Goods;
using VM.Entity.EntityMap.Order;
using VM.Entity.EntityMap.User;

namespace VM.Entity.EntityDto.Order
{
    /// <summary>
    /// 根据id更新订单状态
    /// </summary>
    public class updateOrderStatusByIdDto
    {
        #region Model
        private int? _id;
        
        private int? _status;
 
        private int _updateuserid;
        private DateTime _updatedate;
       
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, IsOnlyIgnoreInsert = true)]
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
         
        /// <summary>
        /// 状态
        /// </summary>
   
        public int? status
        {
            set { _status = value; }
            get { return _status; }
        }

        /// <summary>
        /// 更新人
        /// </summary>
        [JsonIgnore]
        public int updateUserId { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [JsonIgnore]
        public DateTime updateDate { get; set; }
        #endregion Model

    }
}
